﻿using System;
using System.Collections.Generic;
using System.Text;

namespace VietNamKey
{
    public static class Global
    {
        public static string Version { get { return "1.0"; } }
        public static KeySettings KeySettings = new KeySettings();
        public static void LoadDefaultSetting()
        {
            KeySettings.TypingMethod = 0;
            KeySettings.Encoding = 0;
            KeySettings.UseShorthand = false;
            KeySettings.UseShorthandInEn = false;
            KeySettings.UseNewStyle = true;
            KeySettings.UseSendKey = true;
            KeySettings.UseVnInAutoComplete = false;
            KeySettings.UseCheckSpelling = true;
            KeySettings.UseRestoreEN = false;
            KeySettings.CheckSpellingLevel = 2;
            KeySettings.ShorthandList = new List<string[]>
            {
                new[] {"l.h.c", "Le.Hoan.Chan@gmail.com"},
                new[] {"vn", "Việt Nam"}
            };
            KeySettings.RunAtWindowsStart = false;
            KeySettings.OpenDialogWhenStart = false;
			
            KeySettings.AutoIC =
			KeySettings.AutoFC = 
            KeySettings.IC_F2PH =
			KeySettings.IC_J2GI =
			KeySettings.IC_Q2QU =
			KeySettings.IC_G2GH =
			KeySettings.IC_NG2NGH =
			KeySettings.FC_G2NG =
			KeySettings.FC_H2NH =
			KeySettings.FC_K2CH = 
        	KeySettings.AutoAcute = 
			KeySettings.IC_D2DD_Z2D =
			KeySettings.IC_K2KH_C2K = false;
			KeySettings.VowelsShorthand = 0;
        }
        
    }
}
